package com.whisper.hfdp.design.singleton;

public class HungrySingleton {

    private static HungrySingleton singleton;

    private HungrySingleton() {
    }

    public static HungrySingleton getInstance() {
        if (singleton == null) {
            singleton = new HungrySingleton();
        }
        return singleton;
    }
}
